/*** 
 * @Author: Yanan Chen
 * @Date: 2021-11-02 13:39:49
 * @LastEditTime: 2021-11-03 13:49:59
 * @LastEditors: Yanan Chen
 * @Description: 
 * @FilePath: \esp32\Src\Hal\hal_pwm.h
 * @
 */
#ifndef PRJ_PWM_H
#define PRJ_PWM_H

#ifdef __cplusplus
extern "C" {
#endif
#include "prj_cfg.h"
typedef enum
{
    PERIPHERAL_PWM_LED,
    PERIPHERAL_PWM_MAX,
}PERIPHERAL_PWM;

extern int pwm_init(void);
extern int pwm_set(unsigned char value);

#ifdef __cplusplus
}
#endif
#endif